﻿using System.Collections.Generic;
using Monkey.Warrenty.EntityModel;

namespace Monkey.Warrenty.Data.Interfaces
{
   public  interface IDealerGroupDao
    {
       List<DealerGroup> GetAllDealerGroups();
       DealerGroup AddDealerGroup(DealerGroup dealerGroup);
       void UpdateDealerGroup(DealerGroup dealerGroup);
       void DeleteDealerGroup(int dealerGroupId);
       int GetMaxId();
       int GetCurrentIdentity();
       DealerGroup GetById(int id);
    }
}
